An asynchronous Java interface to MATLAB

نویسندگان

  • Andreas Naderlinger
  • Josef Templ
  • Stefan Resmerita
  • Wolfgang Pree
چکیده

MATLAB, an interactive environment for numerical and symbolic computation, supports a number of interfaces to foreign programming languages including Java. However, there is no appropriate support for calling back MATLAB functions from within the Java Virtual Machine integrated with MATLAB. This paper presents such an interface which is based exclusively on documented and portable mechanisms supplied by Java and MATLAB. Our approach is based on asynchronous communication between Java threads and MATLAB and follows the producer/consumer pattern. We also present performance measurements and discuss the impact of an optimization for calling MATLAB functions that return a result value back to Java.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

How to Access Matlab from Java

Combining the strengths of the Java programming language and The Mathworks’ Matlab offers interesting new possibilities for application development. Java and its J2EE development environment are well established today as to provide solutions for dynamic Web services, large-scale distributed systems, and other network-centric applications. Matlab is a technical computing environment with a high-...

متن کامل

Teaching Embedded Control Systems*

This paper introduces a novel approach to building virtual laboratories of embedded control systems using TrueTime and Easy Java Simulations. TrueTime is a freeware MATLAB/Simulink based tool commonly used to simulate embedded control systems. Easy Java Simulations is a popular authoring tool that facilitates the creation of pedagogical simulations. According to the proposed approach, authors u...

متن کامل

An Asynchronous API for Numerical Linear Algebra

We present a task-parallel asynchronous API for numerical linear algebra that utilizes multiple CPUs, multiple GPUs, or a combination of both. Furthermore, we present a wrapper of this interface for use in MATLAB. Our API imposes only small overheads, scales perfectly to two processor cores, and shows even better performance when utilizing computational resources on the GPU.

متن کامل

Interactive Learning of Control Concepts Using Easy Java Simulations

This paper deals with the creation of interactive computer simulations that can be used as virtual laboratories in the field of control engineering education. We introduce EJS, a Java-based tool designed to help create interactive scientific simulations, which has been extended to provide support for authors in this field. Creating interactive simulations using EJS involves the following three ...

متن کامل

A Contribution to Remote Control of Thermo - Optical Plant

The paper is devoted to the remote control of a thermo-optical plant that is used for experimental work at Faculty of Electrical Engineering and Information Technology STU in Bratislava. The presented approach is based on the created Java clientserver application that enables to connect the graphical user interface with the Matlab engine running on the server.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2011